const state = {
  userInfo: {},
}

const mutations = {
  setUserInfo(state,userInfo){
    state.userInfo = userInfo
  }
}

const actions = {
  someAsyncTask ({ commit }) {
    // do something async
    commit('INCREMENT_MAIN_COUNTER')
  }
}

export default {
  state,
  mutations,
  actions
}
